interface MenuItem {
  path: string;
  name: string;
  key?: string;
  children?: Array<MenuItem>;
}

const menu: Array<MenuItem> = [
  {
    path: "1",
    name: "首页",
    children: [
      {
        path: "1-1",
        name: "数据可视化"
      }
    ]
  },
  {
    path: "2",
    name: "楼盘管理",
    children: [
      {
        path: "2-1",
        name: "新房列表"
      },
      {
        path: "2-2",
        name: "发布新房"
      }
    ]
  },
  {
    path: "3",
    name: "内容审核",
    children: [
      {
        path: "3-1",
        name: "楼盘点评"
      },
      {
        path: "3-2",
        name: "楼盘解读"
      },
      {
        path: "3-3",
        name: "买房咨询"
      }
    ]
  },
  {
    path: "4",
    name: "咨询管理",
    children: [
      {
        path: "4-1",
        name: "咨询管理"
      },
      {
        path: "4-2",
        name: "发布、编辑咨询"
      }
    ]
  },
  {
    path: "5",
    name: "用户管理",
    children: [
      {
        path: "5-1",
        name: "编辑个人用户"
      },
      {
        path: "5-2",
        name: "权限管理"
      }
    ]
  }
];
export default menu;
